package mlz.b_collections;

/*
- 总共有54张牌，每一张牌有花色和点数两个属性、为了排序还可以再加一个序号
- 点数可以是：“3”,"4","5","6","7","8","9","10","J","Q","K","A","2"
- 花色可以是：“♣”,"♠","♥","♦"
- 斗地主时：三个玩家每人手里17张牌，剩余3张牌作为底牌

案例分析:
1.为了表示一张牌有哪些属性,首先应该新建一个扑克牌类,用于存储属性
2.启动游戏的时候,就应该提前准备好54张牌
3.要完成洗牌、发牌、看牌等业务

[Card{number='3', color='♣', size=1}, Card{number='3', color='♠', size=1},
Card{number='3', color='♥', size=1}, Card{number='3', color='♦', size=1},
Card{number='4', color='♣', size=2}, Card{number='4', color='♠', size=2},
Card{number='4', color='♥', size=2}, Card{number='4', color='♦', size=2},
Card{number='5', color='♣', size=3}, Card{number='5', color='♠', size=3}, Card{number='5', color='♥', size=3}, Card{number='5', color='♦', size=3}, Card{number='6', color='♣', size=4}, Card{number='6', color='♠', size=4}, Card{number='6', color='♥', size=4}, Card{number='6', color='♦', size=4}, Card{number='7', color='♣', size=5}, Card{number='7', color='♠', size=5}, Card{number='7', color='♥', size=5}, Card{number='7', color='♦', size=5}, Card{number='8', color='♣', size=6}, Card{number='8', color='♠', size=6}, Card{number='8', color='♥', size=6}, Card{number='8', color='♦', size=6}, Card{number='9', color='♣', size=7}, Card{number='9', color='♠', size=7}, Card{number='9', color='♥', size=7}, Card{number='9', color='♦', size=7}, Card{number='10', color='♣', size=8}, Card{number='10', color='♠', size=8}, Card{number='10', color='♥', size=8}, Card{number='10', color='♦', size=8}, Card{number='J', color='♣', size=9}, Card{number='J', color='♠', size=9}, Card{number='J', color='♥', size=9}, Card{number='J', color='♦', size=9}, Card{number='Q', color='♣', size=10}, Card{number='Q', color='♠', size=10}, Card{number='Q', color='♥', size=10}, Card{number='Q', color='♦', size=10}, Card{number='K', color='♣', size=11}, Card{number='K', color='♠', size=11}, Card{number='K', color='♥', size=11}, Card{number='K', color='♦', size=11}, Card{number='A', color='♣', size=12}, Card{number='A', color='♠', size=12}, Card{number='A', color='♥', size=12}, Card{number='A', color='♦', size=12}, Card{number='2', color='♣', size=13}, Card{number='2', color='♠', size=13}, Card{number='2', color='♥', size=13}, Card{number='2', color='♦', size=13}, Card{number='', color='大王', size=13}, Card{number='', color='小王', size=14}]

 */
public class WorkDemo {
    public static void main(String[] args) {
        Room room = new Room();
        room.start();

    }
}
